package springcloud.easybuy.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import springcloud.easybuy.entity.EasybuyProduct;

import java.util.List;

public interface EasybuyProductDao extends JpaRepository<EasybuyProduct,Integer> {

    public List<EasybuyProduct> findByCategoryLevel1Id(int id);

    public EasybuyProduct findById(int id);

}
